package com.lxp.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lxp.order.domain.TOrder;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author lxp
 * @since 2022-02-03
 */
public interface TOrderService extends IService<TOrder> {

    String createOrder(HttpServletRequest request, String courseId);

    boolean checkUserIsBuy(HttpServletRequest request, String courseId);
}
